//
//  TemplateViewController.h
//  FootPrint
//
//  Created by alex tao on 4/16/13.
//  Copyright (c) 2013 alex tao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GridScrollView.h"


@protocol TemplateSelDelegate <NSObject>

@optional
- (BOOL)didSelTemplate:(EventMessage*)event;

@end


//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

@interface TemplateViewController : UIViewController <GridScrollDelegate, UIActionSheetDelegate> {
    
    NSArray *           _showTemplate;
    
    EventMessage *      _selEvent;
    
}

@property (nonatomic, assign) id<TemplateSelDelegate>       selDelegate;

@property (retain, nonatomic) IBOutlet GridScrollView *     gridScroll;

- (IBAction)exit:(id)sender;

@end
